import React,{Component} from 'react';
import {render} from 'react-dom';

import { Route, IndexRoute,Router,browserHistory } from 'react-router';

// Components
import Home from './Home'
import About from './About'
import Nav from './Nav'


 import RouterApp from './router';

/*class Router2 extends Component {

    constructor(props){
        super(props);
    }

    render(){
        return(
            <Router history={browserHistory}>
                <Route path="/" component={Nav}>
                    <div>tset</div>
                </Route>
            </Router>
        )
    }
}*/

// const container = document.getElementById('root');

// ReactDOM.render(<HtmlApp/>,container);
render(<RouterApp />, document.getElementById("root"));